<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>奖金转账-{$tpshop_config['shop_info_store_title']}</title>
    <link rel="shortcut icon" href="{$tpshop_config['shop_info_store_ico']}"/>
    <meta http-equiv="keywords" content="{$tpshop_config['shop_info_store_keyword']}"/>
    <meta name="description" content="{$tpshop_config['shop_info_store_desc']}"/>
    <link rel="stylesheet" href="__STATIC__/css/index.css" type="text/css">
    <link rel="stylesheet" href="__STATIC__/css/page.css" type="text/css">
    <script src="__STATIC__/js/jquery-1.10.2.min.js"></script>
    <script src="__STATIC__/js/slider.js"></script>
    <style>.pagination {
        margin-right: 16px
    }</style>
</head>

<body>
<!--------头部开始-------------->
<include file="Public/header"/>
<!--------头部结束-------------->

<div class="layout ov-hi">
    <div class="breadcrumb-area">
        <foreach name="navigate_user" key="k" item="v">
            <if condition="$k neq '首页'"> ></if>
            <a href="{$v}">{$k}</a>
        </foreach>
    </div>
</div>
<div class="layout pa-to-10 fo-fa-ar">
    <!--菜单-->
    <include file="Bank/menu"/>
    <!--菜单-->
    <div class="fr wi940">
        <div class="xgzl-w" style="overflow: hidden;">
            <form method="post" name="distribut_form" id="distribut_form">
                <dl>
                    <dd class="te-al po-re wi230 fl">&nbsp;</dd>
                    <dd class="fl ta-tldf">
                        <table style="width:700px;">
                            <tbody>
                            <tr>
                                <td class="cl_left">转账金额：</td>
                                <td>
                                    <div class="dv_cell_left">
                                        <input type="text" id="money" name="money" class="imput_text vam"
                                               onpaste="this.value=this.value.replace(/[^\d.]/g,'')"
                                               onKeyUp="this.value=this.value.replace(/[^\d.]/g,'')"/>
                                        你的现金币余额为：{$user.user_money}
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="cl_left">对方帐号：</td>
                                <td>
                                    <div class="dv_cell_left">
                                        <input type="text" id="zz_account" name="zz_account" class="imput_text vam" />
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="cl_left">交易密码：</td>
                                <td>
                                    <div class="dv_cell_left">
                                        <input type="password" id="secpwd" name="secpwd" class="imput_text vam" />
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="left">
                                    <input type="button" onClick="checkSubmit();" value="提交" class="btn_midefy"
                                           id="btn_midefy">
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </dd>
                </dl>
            </form>
        </div>
    </div>
</div>
<div class="he80"></div>
<!--------footer-开始-------------->
<include file="Public/footer2"/>
<!--------footer-结束-------------->
<script>
    function checkSubmit()
    {
        var money = $('#money').val();
        if(money == ''){
            alert('请输入转账金额');return false;
        }

        var zz_account =  $('#zz_account').val();
        if(zz_account == ''){
            alert('请输入对方帐号');return false;
        }

        var secpwd = $('#secpwd').val();
        if(secpwd == ''){
            alert('请输入交易密码');
            return false;
        }
        $('#distribut_form').submit();
    }
</script>
</body>
</html>